// const comboMap = {
//   '0': { msg: '', score: 1 },
//   '1-5': { msg: '神反应！', score: 2, url: 'https://file.bendiclass.com/oss/upload/image/png/29a45271b14b43968a47c11d0b388ace.png', isVibrat: false },
//   '6-10': { msg: '对答如流！', score: 3, url: 'https://file.bendiclass.com/oss/upload/image/png/3f9b44f068704840416372ee06467920.png', isVibrat: false },
//   '11-20': { msg: '机智过人！', score: 3, url: 'https://file.bendiclass.com/oss/upload/image/png/e25dabc21b1d01ed82af5721a2f47e8b.png', isVibrat: false },
//   '21': { msg: '决顶聪明！', score: 4, url: 'https://file.bendiclass.com/oss/upload/image/png/8fc368abd49be7804e9f3b834e633ed9.png', isVibrat: true }
// }
const comboMap = {
  '0': { msg: '', score: 1 },
  '1-5': { msg: '神反应！', score: 2, url: 'comboImg1', isVibrat: false },
  '6-10': { msg: '对答如流！', score: 3, url: 'comboImg2', isVibrat: false },
  '11-20': { msg: '机智过人！', score: 3, url: 'comboImg3', isVibrat: false },
  '21': { msg: '决顶聪明！', score: 4, url: 'comboImg4', isVibrat: true }
}
function getLevel(curLevel) {
  if (curLevel === 0) {
    return comboMap['0']
  }
  if (curLevel >= 1 && curLevel <= 5) {
    return comboMap['1-5']
  }
  if (curLevel >= 6 && curLevel <= 10) {
    return comboMap['6-10']
  }
  if (curLevel >= 11 && curLevel <= 20) {
    return comboMap['11-20']
  }
  if (curLevel >= 21) {
    return comboMap['21']
  }
}

export default {
  getLevel
}
